#filename:example6_4

x = (eval(input("Please enter an integer as start:")),
     eval(input("Please enter an integer as end:")))
x1 = min(x)
x2 = max(x)
for n in range(x1, x2 + 1):
    for i in range(2, n):
        if n % i == 0:
            break
    else:
        print(n,"is prime number")


